package com.project.purchase.Service;

import com.project.purchase.entity.Person;
import com.project.purchase.vo.PersonWithDept;

import java.time.Period;
import java.util.List;

/**
 * @author VX5
 * @Title: QZP
 * @ProjectName purchase
 * @Description: TODO
 * @date ${DAT}14:09
 */
public interface IPerson {
    List<PersonWithDept> GetAll();

    List<PersonWithDept> GetByName(String id);

    void deletByID(String id);

    void addPerson(Person person);

    void updatePerson(Person person);

    String GetIDByName(String name);

    String GetIDByLoginName(String name);
}
